package com.amigo.online.provider.user.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.common.base.entity.BaseEntity;

/**
 * 用户实体类
 *
 * @author amigo
 */
@Table(name = "follow_tbl")
@Alias(value = "follow")
public class Follow extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = -6715615319369119729L;

    @Column(name = "user_id")
    private Long userId; // 用户ID

    @Column(name = "target_user_id")
    private Long targetId; // 关注的用户 ID

    @Column(name = "canceled")
    private Integer canceled; // 是否取消 0关注1取消

    @Column(name = "canceled_time")
    private Long canceledTime; // 取消时间

    @Column(name = "remarks")
    private String remarks;

    @Column(name = "mutual")
    private Integer mutual; // 是否相互关注 1是 0不是


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Integer getCanceled() {
        return canceled;
    }

    public void setCanceled(Integer canceled) {
        this.canceled = canceled;
    }

    public Long getCanceledTime() {
        return canceledTime;
    }

    public void setCanceledTime(Long canceledTime) {
        this.canceledTime = canceledTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getMutual() {
        return mutual;
    }

    public void setMutual(Integer mutual) {
        this.mutual = mutual;
    }
}
